Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-tklauser-sysconf.spec'], chrootPath='/var/lib/mock/epel9-build-54909616-6530904/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-tklauser-sysconf.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/golang-github-tklauser-sysconf-0.3.11-2.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-tklauser-sysconf.spec'], chrootPath='/var/lib/mock/epel9-build-54909616-6530904/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'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-tklauser-sysconf.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r9FIyd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-sysconf-0.3.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-sysconf-0.3.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-sysconf-0.3.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/go-sysconf-0.3.11/vendor + [[ ! -e /builddir/build/BUILD/go-sysconf-0.3.11/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/go-sysconf-0.3.11/_build/bin install: creating directory '/builddir/build/BUILD/go-sysconf-0.3.11/_build' install: creating directory '/builddir/build/BUILD/go-sysconf-0.3.11/_build/bin' + export GOPATH=/builddir/build/BUILD/go-sysconf-0.3.11/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-sysconf-0.3.11/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com/tklauser/go-sysconf ]] ++ dirname /builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com/tklauser/go-sysconf + install -m 0755 -vd /builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com/tklauser install: creating directory '/builddir/build/BUILD/go-sysconf-0.3.11/_build/src' install: creating directory '/builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com' install: creating directory '/builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com/tklauser' + ln -fs /builddir/build/BUILD/go-sysconf-0.3.11 /builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com/tklauser/go-sysconf + cd /builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com/tklauser/go-sysconf + /usr/bin/cat /builddir/build/SOURCES/2dcb4415199b2d86ce49754a3e0d1ebe09304a77.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.N5BBhc + umask 022 + cd /builddir/build/BUILD + cd go-sysconf-0.3.11 + GOPATH=/builddir/build/BUILD/go-sysconf-0.3.11/_build:/usr/share/gocode + GO111MODULE=off + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/libexec/go-rpm-macros + golist --imported --package-path github.com/tklauser/go-sysconf --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-tklauser-sysconf-0.3.11-2.el9.buildreqs.nosrc.rpm 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 x86_64 --nodeps /builddir/build/SPECS/golang-github-tklauser-sysconf.spec'], chrootPath='/var/lib/mock/epel9-build-54909616-6530904/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'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-tklauser-sysconf.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8C2FYr + umask 022 + cd /builddir/build/BUILD + cd go-sysconf-0.3.11 + GOPATH=/builddir/build/BUILD/go-sysconf-0.3.11/_build:/usr/share/gocode + GO111MODULE=off + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/libexec/go-rpm-macros + golist --imported --package-path github.com/tklauser/go-sysconf --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/golang-github-tklauser-sysconf-0.3.11-2.el9.buildreqs.nosrc.rpm 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 x86_64 /builddir/build/SPECS/golang-github-tklauser-sysconf.spec'], chrootPath='/var/lib/mock/epel9-build-54909616-6530904/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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 /builddir/build/SPECS/golang-github-tklauser-sysconf.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.06xPbm + umask 022 + cd /builddir/build/BUILD + cd go-sysconf-0.3.11 + GOPATH=/builddir/build/BUILD/go-sysconf-0.3.11/_build:/usr/share/gocode + GO111MODULE=off + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/libexec/go-rpm-macros + golist --imported --package-path github.com/tklauser/go-sysconf --template 'golang({{.}})\n' --with-tests --skip-self + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UchAmA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64 + cd go-sysconf-0.3.11 + cd /builddir/build/BUILD/go-sysconf-0.3.11/_build/src/github.com/tklauser/go-sysconf + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/tklauser/go-sysconf -b /builddir/build/BUILD/go-sysconf-0.3.11/_build/bin -s /builddir/build/BUILD/go-sysconf-0.3.11/_build -o golang-github-tklauser-sysconf-devel.file-list -O /builddir/build/BUILD/go-sysconf-0.3.11 -V 0.3.11-2.el9 -p /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64 -g /usr/share/gocode -r '.*example.*' -e .proto -e .s -e .md Installing: github.com/tklauser/go-sysconf + 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 +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Lkvhgl + umask 022 + cd /builddir/build/BUILD + cd go-sysconf-0.3.11 + sed -i '/{sysconf.SC_NPROCESSORS_CONF, C._SC_NPROCESSORS_CONF, "_NPROCESSORS_CONF"},/d' cgotest/sysconf_cgotest_linux.go + GO_LDFLAGS=' -X github.com/tklauser/go-sysconf/version=0.3.11' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-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 ' + go-rpm-integration check -i github.com/tklauser/go-sysconf -b /builddir/build/BUILD/go-sysconf-0.3.11/_build/bin -s /builddir/build/BUILD/go-sysconf-0.3.11/_build -V 0.3.11-2.el9 -p /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/go-sysconf-0.3.11/_build/src PATH: /builddir/build/BUILD/go-sysconf-0.3.11/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/libexec/go-rpm-macros GOPATH: /builddir/build/BUILD/go-sysconf-0.3.11/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/tklauser/go-sysconf/version=0.3.11 -extldflags '-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 '" testing: github.com/tklauser/go-sysconf github.com/tklauser/go-sysconf PASS ok github.com/tklauser/go-sysconf 0.006s github.com/tklauser/go-sysconf PASS ok github.com/tklauser/go-sysconf 0.006s github.com/tklauser/go-sysconf/cgotest PASS ok github.com/tklauser/go-sysconf/cgotest 0.004s github.com/tklauser/go-sysconf/cgotest PASS ok github.com/tklauser/go-sysconf/cgotest 0.004s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-tklauser-sysconf-devel-0.3.11-2.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7rqCD9 + umask 022 + cd /builddir/build/BUILD + cd go-sysconf-0.3.11 + DOCDIR=/builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64/usr/share/doc/golang-github-tklauser-sysconf-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64/usr/share/doc/golang-github-tklauser-sysconf-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64/usr/share/doc/golang-github-tklauser-sysconf-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8FM294 + umask 022 + cd /builddir/build/BUILD + cd go-sysconf-0.3.11 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64/usr/share/licenses/golang-github-tklauser-sysconf-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64/usr/share/licenses/golang-github-tklauser-sysconf-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64/usr/share/licenses/golang-github-tklauser-sysconf-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: golang(github.com/tklauser/go-sysconf) = 0.3.11-2.el9 golang(github.com/tklauser/go-sysconf/cgotest) = 0.3.11-2.el9 golang-github-tklauser-sysconf-devel = 0.3.11-2.el9 golang-ipath(github.com/tklauser/go-sysconf) = 0.3.11-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/tklauser/numcpus) golang(golang.org/x/sys/unix) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-tklauser-sysconf-0.3.11-2.el9.x86_64 Wrote: /builddir/build/SRPMS/golang-github-tklauser-sysconf-0.3.11-2.el9.src.rpm Wrote: /builddir/build/RPMS/golang-github-tklauser-sysconf-devel-0.3.11-2.el9.noarch.rpm Child return code was: 0