Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-pengsrc-shared.spec'], chrootPath='/var/lib/mock/f40-build-2288750-55803/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-pengsrc-shared.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705708800 Wrote: /builddir/build/SRPMS/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-pengsrc-shared.spec'], chrootPath='/var/lib/mock/f40-build-2288750-55803/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-pengsrc-shared.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705708800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JGJYHa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a + rm -rf /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/vendor + [[ ! -e /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/bin install: creating directory '/builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build' install: creating directory '/builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/bin' + export GOPATH=/builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com/pengsrc/go-shared ]] ++ dirname /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com/pengsrc/go-shared + install -m 0755 -vd /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com/pengsrc install: creating directory '/builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src' install: creating directory '/builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com' install: creating directory '/builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com/pengsrc' + ln -fs /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com/pengsrc/go-shared + cd /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com/pengsrc/go-shared Patch #0 (0001-Add-context-to-context.WithValue.patch): + echo 'Patch #0 (0001-Add-context-to-context.WithValue.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file log/logger_test.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EaMosB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64 + cd go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a + cd /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src/github.com/pengsrc/go-shared + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/pengsrc/go-shared -b /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/bin -s /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build -o golang-github-pengsrc-shared-devel.file-list -O /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a -V 0.2.0-18.20190524git1999055.fc40 -C 1999055a4a14e23c8c441fbbfbbd2635998fd71a -p /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/pengsrc/go-shared realpath: go.mod: No such file or directory + 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/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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LRxkSl + umask 022 + cd /builddir/build/BUILD + cd go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a + LDFLAGS=' -X github.com/pengsrc/go-shared/version=0.2.0 -X github.com/pengsrc/go-shared/version.commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a' + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/pengsrc/go-shared -b /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/bin -s /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build -V 0.2.0-18.20190524git1999055.fc40 -C 1999055a4a14e23c8c441fbbfbbd2635998fd71a -p /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/src PATH: /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/pengsrc/go-shared/version=0.2.0 -X github.com/pengsrc/go-shared/version.commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/pengsrc/go-shared github.com/pengsrc/go-shared/buffer PASS ok github.com/pengsrc/go-shared/buffer 0.079s github.com/pengsrc/go-shared/buffer PASS ok github.com/pengsrc/go-shared/buffer 0.071s github.com/pengsrc/go-shared/check PASS ok github.com/pengsrc/go-shared/check 0.076s github.com/pengsrc/go-shared/check PASS ok github.com/pengsrc/go-shared/check 0.062s github.com/pengsrc/go-shared/convert PASS ok github.com/pengsrc/go-shared/convert 0.071s github.com/pengsrc/go-shared/convert PASS ok github.com/pengsrc/go-shared/convert 0.073s github.com/pengsrc/go-shared/log [2024-01-23T00:34:31.672Z #253899] DEBUG -- : Singleton logger [2024-01-23T00:34:31.672Z #253899] DEBUG -- : Debug message test, hi Apple [2024-01-23T00:34:35.683Z #253899] DEBUG -- : terminal - DEBUG message [2024-01-23T00:34:35.683Z #253899] INFO -- : terminal - INFO message [2024-01-23T00:34:35.683Z #253899] WARN -- : terminal - WARN message [2024-01-23T00:34:35.683Z #253899] ERROR -- : terminal - ERROR message [2024-01-23T00:34:35.683Z #253899] DEBUG -- : terminal - DEBUG message - 1705970075 [2024-01-23T00:34:35.683Z #253899] INFO -- : terminal - INFO message - 1705970075 [2024-01-23T00:34:35.683Z #253899] WARN -- : terminal - WARN message - 1705970075 [2024-01-23T00:34:35.684Z #253899] ERROR -- : terminal - ERROR message - 1705970075 [2024-01-23T00:34:35.684Z #253899] DEBUG -- : terminal - DEBUG message [2024-01-23T00:34:35.684Z #253899] INFO -- : terminal - INFO message [2024-01-23T00:34:35.684Z #253899] WARN -- : terminal - WARN message [2024-01-23T00:34:35.684Z #253899] ERROR -- : terminal - ERROR message [2024-01-23T00:34:35.684Z #253899] MUTE -- : Hello World! PASS ok github.com/pengsrc/go-shared/log 4.091s github.com/pengsrc/go-shared/log [2024-01-23T00:34:38.523Z #254375] DEBUG -- : Singleton logger [2024-01-23T00:34:38.523Z #254375] DEBUG -- : Debug message test, hi Apple [2024-01-23T00:34:42.532Z #254375] DEBUG -- : terminal - DEBUG message [2024-01-23T00:34:42.532Z #254375] INFO -- : terminal - INFO message [2024-01-23T00:34:42.532Z #254375] WARN -- : terminal - WARN message [2024-01-23T00:34:42.532Z #254375] ERROR -- : terminal - ERROR message [2024-01-23T00:34:42.532Z #254375] DEBUG -- : terminal - DEBUG message - 1705970082 [2024-01-23T00:34:42.532Z #254375] INFO -- : terminal - INFO message - 1705970082 [2024-01-23T00:34:42.532Z #254375] WARN -- : terminal - WARN message - 1705970082 [2024-01-23T00:34:42.532Z #254375] ERROR -- : terminal - ERROR message - 1705970082 [2024-01-23T00:34:42.532Z #254375] DEBUG -- : terminal - DEBUG message [2024-01-23T00:34:42.532Z #254375] INFO -- : terminal - INFO message [2024-01-23T00:34:42.532Z #254375] WARN -- : terminal - WARN message [2024-01-23T00:34:42.532Z #254375] ERROR -- : terminal - ERROR message [2024-01-23T00:34:42.533Z #254375] MUTE -- : Hello World! PASS ok github.com/pengsrc/go-shared/log 4.079s github.com/pengsrc/go-shared/pid PASS ok github.com/pengsrc/go-shared/pid 0.046s github.com/pengsrc/go-shared/pid PASS ok github.com/pengsrc/go-shared/pid 0.045s github.com/pengsrc/go-shared/reopen PASS ok github.com/pengsrc/go-shared/reopen 0.046s github.com/pengsrc/go-shared/reopen PASS ok github.com/pengsrc/go-shared/reopen 0.048s github.com/pengsrc/go-shared/rest PASS ok github.com/pengsrc/go-shared/rest 0.128s github.com/pengsrc/go-shared/rest PASS ok github.com/pengsrc/go-shared/rest 0.128s github.com/pengsrc/go-shared/utils PASS ok github.com/pengsrc/go-shared/utils 0.064s github.com/pengsrc/go-shared/utils PASS ok github.com/pengsrc/go-shared/utils 0.064s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-pengsrc-shared-devel-0.2.0-18.20190524git1999055.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.liTD96 + umask 022 + cd /builddir/build/BUILD + cd go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a + DOCDIR=/builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64/usr/share/doc/golang-github-pengsrc-shared-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64/usr/share/doc/golang-github-pengsrc-shared-devel + cp -pr /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/README.md /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64/usr/share/doc/golang-github-pengsrc-shared-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mmvx8h + umask 022 + cd /builddir/build/BUILD + cd go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64/usr/share/licenses/golang-github-pengsrc-shared-devel + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64/usr/share/licenses/golang-github-pengsrc-shared-devel + cp -pr /builddir/build/BUILD/go-shared-1999055a4a14e23c8c441fbbfbbd2635998fd71a/LICENSE /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64/usr/share/licenses/golang-github-pengsrc-shared-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/pengsrc/go-shared/buffer) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/buffer)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/check) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/check)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/convert) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/convert)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/log) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/log)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/pid) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/pid)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/reopen) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/reopen)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/rest) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/rest)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/utils) = 0.2.0-18.20190524git1999055.fc40 golang(github.com/pengsrc/go-shared/utils)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 golang-github-pengsrc-shared-devel = 0.2.0-18.20190524git1999055.fc40 golang-ipath(github.com/pengsrc/go-shared) = 0.2.0-18.20190524git1999055.fc40 golang-ipath(github.com/pengsrc/go-shared)(commit=1999055a4a14e23c8c441fbbfbbd2635998fd71a) = 0.2.0-18.20190524git1999055.fc40 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/Jeffail/gabs) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-pengsrc-shared-0.2.0-18.20190524git1999055.fc40.riscv64 Wrote: /builddir/build/RPMS/golang-github-pengsrc-shared-devel-0.2.0-18.20190524git1999055.fc40.noarch.rpm Child return code was: 0