Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec'], chrootPath='/var/lib/mock/f42-build-54942171-6531321/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.ejf31e4d:/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.ejf31e4d:/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', '96d9858641954f109b99f076a56d27ed', '-D', '/var/lib/mock/f42-build-54942171-6531321/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ejf31e4d:/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 ppc64le --nodeps /builddir/build/SPECS/golang-github-projectdiscovery-utils.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: ppc64le Building for target ppc64le warning: /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/golang-github-projectdiscovery-utils-0.0.41-4.fc42.src.rpm RPM build warnings: /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec'], chrootPath='/var/lib/mock/f42-build-54942171-6531321/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=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ejf31e4d:/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.ejf31e4d:/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', '6339d5fec5f444878011898e36abeb4d', '-D', '/var/lib/mock/f42-build-54942171-6531321/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ejf31e4d:/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 -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-projectdiscovery-utils.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: ppc64le Building for target ppc64le warning: /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.f5xH95 + umask 022 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + test -d /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + /usr/bin/rm -rf /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ywfsz2 + umask 022 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + rm -rf utils-0.0.41 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/utils-0.0.41.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd utils-0.0.41 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/vendor + [[ ! -e /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/bin install: creating directory '/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build' install: creating directory '/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/bin' + export GOPATH=/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com/projectdiscovery/utils ]] ++ dirname /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com/projectdiscovery/utils + install -m 0755 -vd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com/projectdiscovery install: creating directory '/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src' install: creating directory '/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com' install: creating directory '/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com/projectdiscovery' + ln -fs /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41 /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com/projectdiscovery/utils + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com/projectdiscovery/utils ++ find . -iname '*.go' -type f + sed -i 's|github.com/google/go-github/v30|github.com/google/go-github|' ./async/async.go ./async/async_test.go ./batcher/batcher.go ./batcher/batcher_test.go ./batcher/doc.go ./consts/errors.go ./context/context.go ./context/context_test.go ./crypto/hash.go ./crypto/hash_test.go ./crypto/tls.go ./crypto/ztls.go ./errors/enriched.go ./errors/err_test.go ./errors/err_with_fmt.go ./errors/err_with_fmt_test.go ./errors/errinterface.go ./errors/errlevel.go ./errors/errors.go ./exec/executil.go ./exec/executil_test.go ./file/file.go ./file/file_test.go ./folder/folderutil.go ./folder/folderutil_linux_test.go ./folder/folderutil_test.go ./folder/folderutil_win_test.go ./generic/generic.go ./generic/generic_test.go ./healthcheck/connection.go ./healthcheck/connection_test.go ./healthcheck/dns.go ./healthcheck/dns_test.go ./healthcheck/environment.go ./healthcheck/environment_test.go ./healthcheck/healthcheck.go ./healthcheck/path_permission.go ./healthcheck/path_permission_test.go ./http/chain.go ./http/chain_test.go ./http/httputil.go ./http/httputil_test.go ./ip/iputil.go ./ip/iputil_test.go ./log/logutil.go ./log/logutil_test.go ./maps/generic_map.go ./maps/generic_map_test.go ./maps/mapsutil.go ./maps/mapsutil_test.go ./maps/ordered_map.go ./maps/ordered_map_test.go ./maps/synclock_map.go ./maps/synclock_map_test.go ./os/arch.go ./os/os.go ./patterns/doc.go ./patterns/patterns.go ./patterns/patterns_test.go ./permission/error.go ./permission/permission.go ./permission/permission_file.go ./permission/permission_file_test.go ./permission/permission_linux.go ./permission/permission_other.go ./permission/permission_test.go ./permission/permission_win.go ./ports/ports.go ./ports/ports_test.go ./process/process.go ./proxy/burp.go ./proxy/proxy.go ./proxy/proxy_test.go ./ptr/ptr.go ./ptr/ptr_test.go ./race/norace.go ./race/race.go ./rand/number.go ./rand/number_test.go ./reader/error.go ./reader/examples/keypress/buffered/keypress.go ./reader/examples/keypress/raw/keypress.go ./reader/frozen_reader.go ./reader/frozen_reader_test.go ./reader/rawmode/raw_mode.go ./reader/rawmode/raw_mode_posix.go ./reader/rawmode/raw_mode_windows.go ./reader/rawmode/values_darwin.go ./reader/rawmode/values_linux.go ./reader/reader_keypress.go ./reader/reusable_read_closer.go ./reader/reusable_read_closer_test.go ./reader/timeout_reader.go ./reader/timeout_reader_test.go ./reflect/reflectutil.go ./reflect/reflectutil_test.go ./reflect/tests/tests.go ./routing/router.go ./routing/router_darwin.go ./routing/router_linux.go ./routing/router_windows.go ./slice/sliceutil.go ./slice/sliceutil_test.go ./strings/strings_encoding.go ./strings/strings_normalize.go ./strings/stringsutil.go ./strings/stringsutil_test.go ./structs/structs.go ./syscallutil/syscall_unix.go ./syscallutil/syscallutil.go ./syscallutil/syscallutil_test.go ./syscallutil/syscallutil_win.go ./time/timeutil.go ./time/timeutil_test.go ./update/gh.go ./update/gh_test.go ./update/types.go ./update/update.go ./update/utils_test.go ./url/merge_test.go ./url/orderedparams.go ./url/orderedparams_test.go ./url/rawparam.go ./url/rawparam_test.go ./url/url.go ./url/url_test.go ./url/utils.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zMmNDr + umask 022 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + cd utils-0.0.41 + GOPATH=/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/projectdiscovery/utils --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-projectdiscovery-utils-0.0.41-4.fc42.buildreqs.nosrc.rpm RPM build warnings: /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec'], chrootPath='/var/lib/mock/f42-build-54942171-6531321/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=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ejf31e4d:/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.ejf31e4d:/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', '77d4b258218e4abcacff9b6c8be8eff9', '-D', '/var/lib/mock/f42-build-54942171-6531321/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ejf31e4d:/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 -br --noprep --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-github-projectdiscovery-utils.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: ppc64le Building for target ppc64le warning: /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range setting SOURCE_DATE_EPOCH=1721260800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.5zAtP1 + umask 022 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + cd utils-0.0.41 + GOPATH=/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/projectdiscovery/utils --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-projectdiscovery-utils-0.0.41-4.fc42.buildreqs.nosrc.rpm RPM build warnings: /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec'], chrootPath='/var/lib/mock/f42-build-54942171-6531321/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.ejf31e4d:/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.ejf31e4d:/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', '53b09fdbc90c4428ab31d9d3b4f1c287', '-D', '/var/lib/mock/f42-build-54942171-6531321/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ejf31e4d:/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 -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/golang-github-projectdiscovery-utils.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: ppc64le Building for target ppc64le warning: /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range setting SOURCE_DATE_EPOCH=1721260800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.a53SuN + umask 022 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + cd utils-0.0.41 + GOPATH=/builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build:/usr/share/gocode + GO111MODULE=off + golist --imported --package-path github.com/projectdiscovery/utils --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SiUcYJ + umask 022 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + '[' /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/BUILDROOT ++ dirname /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/BUILDROOT + mkdir -p /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + mkdir /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/BUILDROOT + cd utils-0.0.41 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src/github.com/projectdiscovery/utils + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/projectdiscovery/utils -b /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/bin -s /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build -o golang-github-projectdiscovery-utils-devel.file-list -O /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41 -V 0.0.41-4.fc42 -p /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: github.com/projectdiscovery/utils + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE.md +++ sort -u ++ listfiles_include=LICENSE.md ++ echo LICENSE.md + golicenses=LICENSE.md + [[ -n LICENSE.md ]] + IFS= + read -r f + echo %license '"LICENSE.md"' + 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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/BUILDROOT Scanned 44 directories and 127 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CD5sx5 + umask 022 + cd /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build + cd utils-0.0.41 + for test in "TestDownloadFile" "TestWhatsMyIP" "TestToFQDN" "TestCheckConnection" "TestDnsResolve" ++ grep -rl TestDownloadFile + awk -i inplace '/^func.*TestDownloadFile\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' file/file_test.go + for test in "TestDownloadFile" "TestWhatsMyIP" "TestToFQDN" "TestCheckConnection" "TestDnsResolve" ++ grep -rl TestWhatsMyIP + awk -i inplace '/^func.*TestWhatsMyIP\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' ip/iputil_test.go + for test in "TestDownloadFile" "TestWhatsMyIP" "TestToFQDN" "TestCheckConnection" "TestDnsResolve" ++ grep -rl TestToFQDN + awk -i inplace '/^func.*TestToFQDN\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' ip/iputil_test.go + for test in "TestDownloadFile" "TestWhatsMyIP" "TestToFQDN" "TestCheckConnection" "TestDnsResolve" ++ grep -rl TestCheckConnection + awk -i inplace '/^func.*TestCheckConnection\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' healthcheck/connection_test.go + for test in "TestDownloadFile" "TestWhatsMyIP" "TestToFQDN" "TestCheckConnection" "TestDnsResolve" ++ grep -rl TestDnsResolve + awk -i inplace '/^func.*TestDnsResolve\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' healthcheck/dns_test.go + GO_LDFLAGS=' -X github.com/projectdiscovery/utils/version=0.0.41' + 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/projectdiscovery/utils -b /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/bin -s /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build -V 0.0.41-4.fc42 -p /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' -d github.com/projectdiscovery/utils/healthcheck -d github.com/projectdiscovery/utils/permission -d github.com/projectdiscovery/utils/syscallutil Testing in: /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/src PATH: /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/golang-github-projectdiscovery-utils-0.0.41-build/utils-0.0.41/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/projectdiscovery/utils/version=0.0.41 -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/projectdiscovery/utils github.com/projectdiscovery/utils/async PASS ok github.com/projectdiscovery/utils/async 2.007s github.com/projectdiscovery/utils/async PASS ok github.com/projectdiscovery/utils/async 2.008s github.com/projectdiscovery/utils/batcher PASS ok github.com/projectdiscovery/utils/batcher 2.261s github.com/projectdiscovery/utils/batcher PASS ok github.com/projectdiscovery/utils/batcher 2.233s github.com/projectdiscovery/utils/consts ? github.com/projectdiscovery/utils/consts [no test files] github.com/projectdiscovery/utils/context PASS ok github.com/projectdiscovery/utils/context 0.006s github.com/projectdiscovery/utils/context PASS ok github.com/projectdiscovery/utils/context 0.004s github.com/projectdiscovery/utils/crypto PASS ok github.com/projectdiscovery/utils/crypto 0.007s github.com/projectdiscovery/utils/crypto PASS ok github.com/projectdiscovery/utils/crypto 0.009s github.com/projectdiscovery/utils/errors PASS ok github.com/projectdiscovery/utils/errors 0.005s github.com/projectdiscovery/utils/errors PASS ok github.com/projectdiscovery/utils/errors 0.005s github.com/projectdiscovery/utils/exec PASS ok github.com/projectdiscovery/utils/exec 0.018s github.com/projectdiscovery/utils/exec PASS ok github.com/projectdiscovery/utils/exec 0.018s github.com/projectdiscovery/utils/file PASS ok github.com/projectdiscovery/utils/file 60.066s github.com/projectdiscovery/utils/file PASS ok github.com/projectdiscovery/utils/file 60.244s github.com/projectdiscovery/utils/folder PASS ok github.com/projectdiscovery/utils/folder 0.014s github.com/projectdiscovery/utils/folder PASS ok github.com/projectdiscovery/utils/folder 0.019s github.com/projectdiscovery/utils/generic PASS ok github.com/projectdiscovery/utils/generic 0.005s github.com/projectdiscovery/utils/generic PASS ok github.com/projectdiscovery/utils/generic 0.004s github.com/projectdiscovery/utils/http PASS ok github.com/projectdiscovery/utils/http 0.007s github.com/projectdiscovery/utils/http PASS ok github.com/projectdiscovery/utils/http 0.006s github.com/projectdiscovery/utils/ip PASS ok github.com/projectdiscovery/utils/ip 0.015s github.com/projectdiscovery/utils/ip PASS ok github.com/projectdiscovery/utils/ip 0.012s github.com/projectdiscovery/utils/log PASS ok github.com/projectdiscovery/utils/log 0.005s github.com/projectdiscovery/utils/log PASS ok github.com/projectdiscovery/utils/log 0.005s github.com/projectdiscovery/utils/maps PASS ok github.com/projectdiscovery/utils/maps 0.015s github.com/projectdiscovery/utils/maps PASS ok github.com/projectdiscovery/utils/maps 0.010s github.com/projectdiscovery/utils/os ? github.com/projectdiscovery/utils/os [no test files] github.com/projectdiscovery/utils/patterns PASS ok github.com/projectdiscovery/utils/patterns 0.008s github.com/projectdiscovery/utils/patterns PASS ok github.com/projectdiscovery/utils/patterns 0.009s github.com/projectdiscovery/utils/ports PASS ok github.com/projectdiscovery/utils/ports 0.005s github.com/projectdiscovery/utils/ports PASS ok github.com/projectdiscovery/utils/ports 0.005s github.com/projectdiscovery/utils/process ? github.com/projectdiscovery/utils/process [no test files] github.com/projectdiscovery/utils/proxy ? github.com/projectdiscovery/utils/proxy [no test files] github.com/projectdiscovery/utils/ptr PASS ok github.com/projectdiscovery/utils/ptr 0.005s github.com/projectdiscovery/utils/ptr PASS ok github.com/projectdiscovery/utils/ptr 0.003s github.com/projectdiscovery/utils/race ? github.com/projectdiscovery/utils/race [no test files] github.com/projectdiscovery/utils/rand PASS ok github.com/projectdiscovery/utils/rand 0.005s github.com/projectdiscovery/utils/rand PASS ok github.com/projectdiscovery/utils/rand 0.005s github.com/projectdiscovery/utils/reader PASS ok github.com/projectdiscovery/utils/reader 12.025s github.com/projectdiscovery/utils/reader PASS ok github.com/projectdiscovery/utils/reader 12.029s github.com/projectdiscovery/utils/reader/rawmode ? github.com/projectdiscovery/utils/reader/rawmode [no test files] github.com/projectdiscovery/utils/reflect PASS ok github.com/projectdiscovery/utils/reflect 0.007s github.com/projectdiscovery/utils/reflect PASS ok github.com/projectdiscovery/utils/reflect 0.004s github.com/projectdiscovery/utils/reflect/tests ? github.com/projectdiscovery/utils/reflect/tests [no test files] github.com/projectdiscovery/utils/routing ? github.com/projectdiscovery/utils/routing [no test files] github.com/projectdiscovery/utils/slice PASS ok github.com/projectdiscovery/utils/slice 0.010s github.com/projectdiscovery/utils/slice PASS ok github.com/projectdiscovery/utils/slice 0.006s github.com/projectdiscovery/utils/strings PASS ok github.com/projectdiscovery/utils/strings 0.008s github.com/projectdiscovery/utils/strings PASS ok github.com/projectdiscovery/utils/strings 0.010s github.com/projectdiscovery/utils/structs ? github.com/projectdiscovery/utils/structs [no test files] github.com/projectdiscovery/utils/time PASS ok github.com/projectdiscovery/utils/time 0.005s github.com/projectdiscovery/utils/time PASS ok github.com/projectdiscovery/utils/time 0.005s github.com/projectdiscovery/utils/update # github.com/projectdiscovery/gologger/formatter /usr/share/gocode/src/github.com/projectdiscovery/gologger/formatter/cli.go:20:55: undefined: aurora.NewAurora FAIL github.com/projectdiscovery/utils/update [build failed] RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.CD5sx5 (%check) /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec line 41: autopatch: no matching patches in range Bad exit status from /var/tmp/rpm-tmp.CD5sx5 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 53b09fdbc90c4428ab31d9d3b4f1c287 -D /var/lib/mock/f42-build-54942171-6531321/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ejf31e4d:/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 -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/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 53b09fdbc90c4428ab31d9d3b4f1c287 -D /var/lib/mock/f42-build-54942171-6531321/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ejf31e4d:/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 -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/golang-github-projectdiscovery-utils.spec'